package com.tian.mapper;

import com.tian.entity.UserApply;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserApplyMapper {
    int deleteByPrimaryKey(Long id);

    int insert(UserApply record);

    UserApply selectByPrimaryKey(Long id);

    UserApply selectByMianId(Long mianId);

    List<UserApply> selectAll();

    int updateByPrimaryKey(UserApply record);

    void approve(UserApply record);

    List<UserApply> list(@Param("status") Integer status, @Param("page") Integer page, @Param("pageSize") Integer pageSize);
}